package com.cet.reactor;

import java.util.regex.Pattern;

/**
 * Mono: 0 ~ 1
 */
public class MonoDemo {

    public static final String MIDDLE_SAFETY_PASSWORD_PATTERN = "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)\\S{8,14}$";

    public static void main(String[] args) {

        System.out.println(Pattern.matches(MIDDLE_SAFETY_PASSWORD_PATTERN, "1qazXDR%"));
        System.out.println(Pattern.matches(MIDDLE_SAFETY_PASSWORD_PATTERN, "Hsh15963636969"));
    }
}
